---
layout: default
---

<div class="page clearfix" post>
    <div class="left">
        <h1>{{page.title}}</h1>
        <hr>
        {{content}}
    </div>
    <button class="anchor"><i class="fa fa-anchor"></i></button>
    <div class="right">
        <div class="wrap">

            <!-- Content -->
            <div class="side">
                    <div>
                        <i class="fa fa-pencil-square-o" aria-hidden="true"></i>
                        最新帖子
                    </div>
                    <ul class="content-ul" recent>
                        {% for post in site.posts offset: 0 limit: 10  %}
                            <li><a href="{{ post.url }}">{{ post.title }}</a></li>
                        {% endfor %}
                    </ul>
                </div>
    
            <!-- Content -->
            <div class="side ">
                    <div>
                        <i class="fa fa-th-list"></i>
                        分类
                    </div>
                    <ul class="content-ul" cate>
                        {% for category in site.categories %}
                        <li>
                            <a href="{{ root_url }}/{{ site.category_dir }}#{{ category | first }}" class="categories-list-item" cate="{{ category | first }}">
                                <span class="name">
                                    {{ category | first }}
                                </span>
                                <span class="badge">{{ category | last | size }}</span>
                            </a>
                        </li>
                        {% endfor %}
                    </ul>
            </div>
            <!-- 其他div框放到这里 -->
            <div class="side">
                    <div>
                        <i class="fa fa-external-link"></i>
                        友情链接
                    </div>
                    <ul  class="content-ul">
                        <a href="http://www.shennongsoftware.com" target="_blank" style="font-size: 12pt; color: #FF8000;">神农软件</a>
                        <a href="http://www.mall6v.com" target="_blank" style="font-size: 12pt; color: #FF8000;">神农商城系统</a>
                        <a href="https://github.com/zwssd" target="_blank" style="font-size: 12pt; color: #FF8000;">github</a>
                    </ul>
            </div>
        </div>
    </div>
</div>
<script src="{{ "/js/pageContent.js " | prepend: site.baseurl }}" charset="utf-8"></script>
